//
//  InsideAnimationEffectShowManager.h
//  PruchaseCarAnimation
//
//  Created by iOS的 on 2021/12/17.
//  Copyright © 2020 Moitnea. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
typedef void (^animationFinisnBlock)(BOOL finish);
@interface InsideAnimationEffectShowManager : NSObject
@property (strong , nonatomic) CALayer *layer;
@property (copy , nonatomic) animationFinisnBlock animationFinisnBlock;


+ (instancetype)shareTool;

- (void)startAnimationandView:(UIView *)view
                         rect:(CGRect)rect
                  finisnPoint:(CGPoint)finishPoint
                  finishBlock:(animationFinisnBlock)completion showView:(UIView *)showview;;


- (void)startVerticalAnimationandView:(UIView *)view
                         rect:(CGRect)rect
                  finisnPoint:(CGPoint)finishPoint
                          finishBlock:(animationFinisnBlock)completion showView:(UIView *)showview;
//消失动画
- (void)scaleSmallAnimation:(UIView *)scaleView duration:(double)duration finishBlock:(animationFinisnBlock)completion;
//缩放动画
+ (void)scaleAnimation:(UIView *)scaleView duration:(double)duration  repeatCount:(float)repeatCount;
+ (void)scaleAnimation:(UIView *)scaleView duration:(double)duration  repeatCount:(float)repeatCount bigSize:(CGFloat)bigSize;
+ (void)scaleBigAnimation:(UIView *)scaleView duration:(double)duration;

//label缩放
-(void)labelScaleAnimation:(UILabel *)label;



+ (void)scaleBackviewBigAnimation:(UIView *)scaleView duration:(double)duration;

@end
